.class Lcom/example/m6shop/FramentOrder2$3;
.super Ljava/lang/Object;
.source "FramentOrder2.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/FramentOrder2;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/FramentOrder2;


# direct methods
.method constructor <init>(Lcom/example/m6shop/FramentOrder2;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    .line 386
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4
    .param p2, "arg1"    # Landroid/view/View;
    .param p3, "arg2"    # I
    .param p4, "arg3"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    const/4 v3, 0x0

    .line 393
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->goodsstyles:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$8(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lt v0, v1, :cond_0

    .line 402
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->beans2:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$1(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    .line 403
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # invokes: Lcom/example/m6shop/FramentOrder2;->selectedGoodsType(I)V
    invoke-static {v1, p3}, Lcom/example/m6shop/FramentOrder2;->access$9(Lcom/example/m6shop/FramentOrder2;I)V

    .line 405
    const/4 v0, 0x0

    :goto_1
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->GoodsBean2s:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$10(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lt v0, v1, :cond_2

    .line 411
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->adapter:Lcom/example/m6shop/FramentOrder2$GoodsAdapter;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$14(Lcom/example/m6shop/FramentOrder2;)Lcom/example/m6shop/FramentOrder2$GoodsAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/example/m6shop/FramentOrder2$GoodsAdapter;->notifyDataSetChanged()V

    .line 413
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->shoptTypeAdapter2:Ladapter/ShoptTypeAdapter2;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$21(Lcom/example/m6shop/FramentOrder2;)Ladapter/ShoptTypeAdapter2;

    move-result-object v1

    invoke-virtual {v1}, Ladapter/ShoptTypeAdapter2;->notifyDataSetChanged()V

    .line 415
    return-void

    .line 395
    :cond_0
    if-ne p3, v0, :cond_1

    .line 396
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->goodsstyles:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$8(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/ShoptypeBean;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lbean/ShoptypeBean;->setIsselected(Z)V

    .line 393
    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 398
    :cond_1
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->goodsstyles:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$8(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/ShoptypeBean;

    invoke-virtual {v1, v3}, Lbean/ShoptypeBean;->setIsselected(Z)V

    goto :goto_2

    .line 406
    :cond_2
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->goodsstyles:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$8(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/ShoptypeBean;

    invoke-virtual {v1}, Lbean/ShoptypeBean;->getId()Ljava/lang/String;

    move-result-object v2

    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->GoodsBean2s:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$10(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/example/m6shop/GoodsBean2;

    invoke-virtual {v1}, Lcom/example/m6shop/GoodsBean2;->getParent_id()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->shoptype2:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$11(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/ShoptypeBean;

    invoke-virtual {v1}, Lbean/ShoptypeBean;->getId()Ljava/lang/String;

    move-result-object v2

    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->GoodsBean2s:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$10(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/example/m6shop/GoodsBean2;

    invoke-virtual {v1}, Lcom/example/m6shop/GoodsBean2;->getParent_id2()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 407
    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->beans2:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$1(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v2

    iget-object v1, p0, Lcom/example/m6shop/FramentOrder2$3;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->GoodsBean2s:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6shop/FramentOrder2;->access$10(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/example/m6shop/GoodsBean2;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 405
    :cond_3
    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_1
.end method
